package domain;

public class Reader {
    private String rnum;
    private String rname;
    private String rsex;
    private String rschool;
    private String rpwd;
    private String borrowbook;

    @Override
    public String toString() {
        return "Reader{" + "rnum='" + rnum + '\'' + ", rname='" + rname + '\'' + ", rsex='" + rsex + '\'' + ", rschool='" + rschool + '\'' + ", rpwd='" + rpwd + '\'' + ", borrowbook='" + borrowbook + '\'' + '}';
    }

    public Reader(String rnum, String borrowbook) {
        this.rnum = rnum;
        this.borrowbook = borrowbook;
    }

    public Reader() {

    }

    public Reader(String rnum, String rname, String rsex, String rschool, String rpwd, String borrowbook) {
        this.rnum = rnum;
        this.rname = rname;
        this.rsex = rsex;
        this.rschool = rschool;
        this.rpwd = rpwd;
        this.borrowbook = borrowbook;
    }

    public String getRnum() {
        return rnum;
    }

    public void setRnum(String rnum) {
        this.rnum = rnum;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public String getRsex() {
        return rsex;
    }

    public void setRsex(String rsex) {
        this.rsex = rsex;
    }

    public String getRschool() {
        return rschool;
    }

    public void setRschool(String rschool) {
        this.rschool = rschool;
    }

    public String getRpwd() {
        return rpwd;
    }

    public void setRpwd(String rpwd) {
        this.rpwd = rpwd;
    }

    public String getBorrowbook() {
        return borrowbook;
    }

    public void setBorrowbook(String borrowbook) {
        this.borrowbook = borrowbook;
    }
}
